package com.liangsui.mss.controller;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.liangsui.mss.dto.ProviderDto;
import com.liangsui.mss.vo.AjaxResult;

/**
 * BaseController
 *
 * @author zhangjiawei
 * @email 1533167396@qq.com
 * @date 2022/12/6 15:40
 */
public class BaseController {

    public static AjaxResult handleException(ProviderDto providerDto, BlockException blockException) {
        return AjaxResult.fail("访问过于频繁，请稍后再试！");
    }
}
